import ultralytics

if __name__ == '__main__':
    model_path = 'best.pt'
    model = ultralytics.YOLO(model_path)
    model.export(format='onnx', dynamic=True, imgsz=640, half=True, simplify=False)
